package com.studorm.vo;


/**
 * @author Waiting_hao
 *
 */
public class Utilities {
	private String dormBdName;
	private String dormNu;
	private String year;
	private String month;
	private double electricity;
	private double electricityConsumption;
	private double priceE=0;
	public void setPriceE(double priceE) {
		this.priceE = priceE;
	}
	public void setPriceW(double priceW) {
		this.priceW = priceW;
	}
	private double water;
	private double waterConsumption;
	public void setElectricityConsumption(double electricityConsumption) {
		this.electricityConsumption = electricityConsumption;
	}
	public void setWaterConsumption(double waterConsumption) {
		this.waterConsumption = waterConsumption;
	}
	private double priceW=0;
	private int ispayW;
	private int ispayE;
	private int id;
	public String getDormBdName() {
		return dormBdName;
	}
	public void setDormBdName(String dormBdName) {
		this.dormBdName = dormBdName;
	}
	public String getDormNu() {
		return dormNu;
	}
	public void setDormNu(String dormNu) {
		this.dormNu = dormNu;
	}
	public String getYear() {
		return year;
	}
	public void setYear(String year) {
		this.year = year;
	}
	public String getMonth() {
		return month;
	}
	public void setMonth(String month) {
		this.month = month;
	}
	public double getElectricity() {
		return electricity;
	}
	public void setElectricity(double electricity) {
		this.electricity = electricity;
	}
	public double getWater() {
		return water;
	}
	public void setWater(double water) {
		this.water = water;
	}
	public String getIspayW() {
		if(ispayW == 0){
			return "未交";
		}else{
			return "已交";
		}
	}
	public void setIspayW(int ispayW) {
		this.ispayW = ispayW;
	}
	public String getIspayE() {
		if(ispayE == 0){
			return "未交";
		}else{
			return "已交";
		}
	}
	public void setIspayE(int ispayE) {
		this.ispayE = ispayE;
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public double getElectricityConsumption(){
		return electricityConsumption;
	}
	public double getWaterConsumption(){
		return waterConsumption;
	}
}
